package com.zb.demo.service;

import com.zb.entity.Flight;
import com.zb.util.PageUtil;

import java.util.Map;

public interface FlightService {
    PageUtil<Flight> getFlightsByConds(Integer pageIndex, Integer pageSize, Integer departureCity, Integer arrivalCity);
    Map<String, Object>  add(Flight flight);
    Map<String, Object> getFlightByflightNo(String flightNo);

}
